<!DOCTYPE html>
<html>
	<head>
		<meta charset="utf-8">
		<title></title>
		<style>
			@import url("https://fonts.googleapis.com/css?family=Lato:100");
			body {
			  display: flex;
			  justify-content: center;
			  align-items: center;
			  height: 100vh;
			  background: black;
			}
			
			.loading {
			  display: flex;
			  color: white;
			  font-size: 6rem;
			  font-family: Lato, sans-serif;
			  letter-spacing: 0.5rem;
			  text-transform: uppercase;
			}
			.loading span {
			  animation: shrink 2s infinite;
			}
			
			@keyframes shrink {
			  50% {
			    transform: scale(0);
			  }
			}
		</style>
	</head>
	<body>
		<div class="loading">祝你遇见温柔，也成为温柔本身。 ​​​​</div>
	</body>
</html>
<script>
	"use strict";
	let loading = document.querySelector(".loading");
	let letters = loading.textContent.split("");
	loading.textContent = "";
	letters.forEach((letter, i) => {
	    let span = document.createElement("span");
	    span.textContent = letter;
	    span.style.animationDelay = `${i / 10}s`;
	    loading.append(span);
	});

</script>